package bean;

public class Rank {
    private int rankId;
    private String type;

    public Rank() {
    }

    public Rank(int rankId, String type) {
        this.rankId = rankId;
        this.type = type;
    }

    public int getRankId() {
        return rankId;
    }

    public void setRankId(int rankId) {
        this.rankId = rankId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Rank{" +
                "rankId=" + rankId +
                ", type='" + type + '\'' +
                '}';
    }
}
